package com.shenyong.service;

import com.shenyong.entity.Article;
import com.shenyong.entity.Article_Kind;
import com.shenyong.entity.Collection;
import com.shenyong.entity.Comment;

import java.util.List;

/**
 * Create By ： qiang
 * GetData ：2019/12/9 20:39
 * 文件说明 ： QArticleService
 */


public interface QArticleService {
    //添加方法
    int addArticle(Article article);

    //查询种类
    List<Article_Kind> selectAllArticle_Kind();

    public List<Article> newHotArticle(Article article);
    //前台添加评论
    public int addComment(Comment comment);

    public Object artprev(Article article);

    public Object artnext(Article article);

    public int uppageView(Article article);

    public int upcollect(Collection collection);

    public int decollect(Collection collection);

}
